<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../../css/demo.css" rel="stylesheet" type="text/css" />
<script src="../../js/boot.js" type="text/javascript"></script>
<script src="../../js/mini_common.js" type="text/javascript"></script>
<script src="../../js/qifu/qifu.js" type="text/javascript"></script>
</head>
<body>
	<h1>祈福记录</h1>
	<div style="width:100%">
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                    <td style="white-space:nowrap;">
                        <input id="key" class="mini-textbox" emptyText="请输入查找关键字" style="width:200px;" onenter="onKeyEnter"/>   
                        <a class="mini-button" onclick="search()">查询</a>
                    </td>
                </tr>
            </table>           
        </div>
    </div>
	<div id="datagrid1" class="mini-datagrid" onshowrowdetail="onShowRowDetail" url="javascript:getRootPath()+'/rest/qifu/list'" style="width: 100%;" idField="id" allowResize="true" sizeList="[10,20,50,100]" pageSize="10">
		<div property="columns">
			<div field="clifford_Id" visible="false"></div>
			<div type="expandcolumn" >#</div>
			<div field="goodsName" width="50"  headerAlign="center" allowSort="true">商品名称</div>
			<div field="goodsPrice"  headerAlign="center"  allowSort="true" >商品价格</div>
			<div field="userName"  headerAlign="center" allowSort="true">灵犀人昵称</div>
			<div field="userMobile"  headerAlign="center" allowSort="true">灵犀人电话</div>
			<div field="cliffordStartedTime" headerAlign="center" allowSort="true" dateformat="yyyy-MM-dd HH:mm:ss">创建灵犀时间</div>
			<div field="cliffordState"  headerAlign="center" allowSort="true" renderer ="onCliffordStatus">灵犀状态</div>
			<div field="disabledState"  headerAlign="center" allowSort="true" renderer ="onDataStatus">是否删除</div>
			<div name="action" headerAlign="center" align="center" renderer="onActionRenderer" cellStyle="padding:0;">操作</div>
		</div>
	</div>
	<div id="detailGrid_Form" style="display:none;">
		<div style="width:100%">
    </div>
	<div id="clifford_list" class="mini-datagrid"  showEmptyText="true" emptyText="本祈福没有聚福数据" style="width:100%;height:300px;" url="javascript:getRootPath()+'/rest/qifu/canyujufu_list'">
       <div property="columns">
          <div field="id" visible="false"></div>
          <div field="userNickName"  headerAlign="center" allowSort="true">参与聚福人昵称</div>
          <div field="clifford_record_money" width="120" headerAlign="center" allowSort="true">聚福金额</div>
          <div field="cliffordRecordTime"  headerAlign="center"  allowSort="true" dateformat="yyyy-MM-dd HH:mm:ss">参加聚福时间</div>
          <div field="order_num" width="100" allowSort="true" align="center" headerAlign="center">支付订单号 </div>   
          <div field="is_system" width="100" allowSort="true" align="center" headerAlign="center">是否为系统馈赠 </div>         
    	</div>     
	<div class="description">
		<h3>蓝鲸科技，科技引领潮流。</h3>
	</div>
	<script>
		mini.parse();
		var TuserID = getCookie("TuserID");
		var clifford_list = mini.get("clifford_list");
		var detailGrid_Form = document.getElementById("detailGrid_Form");
		if(TuserID == null || TuserID ==""){
			alert("您尚未登录，请登录。");
			window.location.href= getRootPath()+"../../pages/access/admin_login.html";
		}else{
			var grid = mini.get("datagrid1");
			var parms = {"userId":TuserID};
	        grid.load(parms);
		}
	</script>
</body>
</html>